package com.allwees.support.payment.oceanpay.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author Daniel
 * @version 1.0.0
 * @since 2020/12/5 20:04
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "payment.oceanpay")
public class OceanpayProperties {
    //支付-正式
    //private String BASE_URL = "https://secure.oceanpayment.com/gateway/service/pay";
    //支付-测试
    //private String BASE_URL = "https://secure.oceanpayment.com/gateway/service/test";

    private String account = "140105";
    private String terminal = "14010528";
    private String secureCode = "12345678";
    private String backUrl = "https://www.baidu.com";
    private String noticeUrl = "https://api.allwees.com/api/webhook/oceanpay";
    private String logisticsUploadUrl = "https://query.oceanpayment.com/service/uploadTrackingNo";
    private String refundApplyUrl = "https://query.oceanpayment.com/service/applyRefund";
}
